package com.xuecheng.content.exception;

import com.xuecheng.base.exception.XCPlusBaseException;

/**
 * @description 课程已经提交过
 * @author 勾新杰
 * @version 1.0
 * @date 2025/1/4 16:35
 */
public class CourseHasBeenSubmittedException extends XCPlusBaseException {

    CourseHasBeenSubmittedException(){
        super(ContentError.COURSE_HAS_BEEN_SUBMITTED.getErrMessage());
    }

    public static void cast(){
        throw new CourseHasBeenSubmittedException();
    }
}
